<h1> Admin Login </h1> 
<div id="login" style="width:450px;margin: auto" >
    <?php $attr["style"]="margin-left: 0px";$attr["id"]="admin_login"; echo form_open('admin/admin_login',$attr);?>


        <label>Username: </label> <input  type="text" name="id" >*<br/><br/>
        <label>Password:&nbsp;</label> <input  type="password" name="password">*<br/><br/>
        <label>Who are you? </label><input type="radio" name="rank" value="SDE" checked="true"/> SDE <input type="radio" name="rank" value="DE" /> DE 
        <input type="radio" name="rank" value="Director" /> Director <br/><br/>
        <?php if(isset($failed))
                echo'<label>Wrong Username or Password </label><br/><br/>' ;
        ?>
        <input type="submit" name="Submit" value="Login" style="font-size: medium; font-weight:normal " >


    <?php echo form_close();?>
</div>
